import 'package:flutter/foundation.dart';

mixin ApiSource {
  @required
  String get path;
  @required
  ApiArgs get args;
}

// enum Api with ApiSource {
//   login;

//   @override
//   String get path => 'login';
// }

abstract class ApiArgs {
  @required
  Map<String, dynamic> toJson();
}
